package com.zhijian.medical.entity.vo.request;

import com.zhijian.medical.entity.po.SangerHszbq;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * 一代测序-核酸制备区-新增or修改类
 *
 * @author HCG
 * @version 1.0
 * @date 2022/8/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "一代测序-核酸制备区-新增or修改类")
public class SangerHszbqSaveOrUpdateVo extends SangerHszbq implements Serializable {

    private static final long serialVersionUID = 1521371714549960072L;

    /**
     * 样本准备数据
     */
    @ApiModelProperty("样本准备数据")
    @Valid
    @NotNull(message = "样本准备数据不能为空")
    @Size(min = 1, message = "样本准备数据至少为一条")
    private List<ExperimentProcessSampleUpdateVo> sangerReadyList;

}
